- Notifications
You must be signed in to change notification settings - Fork 843
/
Copy pathProgram.cs
35 lines (32 loc) · 1.02 KB
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
// Generated with Bot Builder V4 SDK Template for Visual Studio EchoBot v4.6.2
usingMicrosoft.AspNetCore;
usingMicrosoft.AspNetCore.Hosting;
usingMicrosoft.Extensions.Hosting;
namespaceMicrosoft.Teams.Samples.HelloWorld.Web
{
/// <summary>
/// The main entry point for the application.
/// </summary>
publicclassProgram
{
/// <summary>
/// The main method which is the entry point of the application.
/// </summary>
publicstaticvoidMain(string[]args)
{
CreateHostBuilder(args).Build().Run();
}
/// <summary>
/// Creates the host builder.
/// </summary>
publicstaticIHostBuilderCreateHostBuilder(string[]args)=>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
});
}
}